table{
    width: 500px;
    height: 300px;
    border-collapse: collapse;
}
td{
    border: greenyellow solid 1px;
}
tr:nth-of-type(1) td{
    background-color: pink;
}
tr:nth-of-type(2) td{
    background-color: grey;
}
tr:nth-of-type(3) td{
    background-color: skyblue;
}